
let a = {
  c: 1,
  b: () => {
    return this.c;
  },
  d() {
    return this.c;
  },
};

console.log("xxx", a.b());
console.log("xxx", a.d());
